package product.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface CommonService<T> extends IService<T> {

    /**
     * 分页查询数据
     *
     * @param params
     * @return
     */
    Page<T> queryPage(Map<String, Object> params);

    LambdaQueryWrapper<T> getQueryWrapper(Map<String, Object> params);
}
